Please wait.....
<%= javascript_heads %>
<script>
$.ajax({
        username: 'test',
        password: 'testpassword',
        url: '/',
        type: 'GET',
        beforeSend: function(xhr){
            xhr.setRequestHeader("Authorization",
                "Basic AAAAAAAAAAAAAAAAAAA=");
        },
        success: function(result) {
        },
        error: function(re){console.log(re);document.write('logout success');}
    });
</script>
